const isLocal = process.env.NODE_ENV.toLowerCase() !== 'production';

const Servers = {
    DING_SERVER_AUTHCODE:
        `${isLocal ? 'https://cwe.cwewater.com/ding' : 'http://192.168.112.61:3000'}/api/users/auth`,
    DOTNET_APPCENTER_SERVER_GetOldUser:
        `${isLocal ? 'http://192.168.112.30:8001' : 'http://192.168.112.30:8001'}/api/services/jzappcenterservice/user/GetOldUser`,
    SSO_JAVA_SERVER_GetDingToken:
        `${isLocal ? 'http://dm.cwewater.com:7000' : 'http://192.168.112.61:7000'}/openid-connect-server-webapp/getDingToken`,
};

export const LogPath = `${process.cwd()}/log`;

export const Listen_port: number = 6203;

export default Servers;


